<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" 
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" 
      lang="cn">
  <head>
    <meta charset="UTF-8">
    <title>控件树</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
     <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" />
     <link rel="stylesheet" th:href="@{/jstree/themes/default/style.min.css}" />
    <link rel="stylesheet" th:href="@{/css/font-awesome.min.css}">
	<link rel="stylesheet" th:href="@{/css/xadmin.css}">
    <script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/layui/layui.js}" charset="utf-8"></script>
	<script type="text/javascript" th:src="@{/jstree/jstree.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/xadmin.js}"></script>
    <script type="text/javascript" th:src="@{/js/common.js}"></script>
    <script type="text/javascript" th:src="@{/js/objectTree-layer.js}"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script th:src="@{/js/html5shiv.min.js}"></script>
      <script th:src="@{/js/respond.min.js}"></script>
    <![endif]-->
  </head>
  <body>
    <input type="hidden" id="appId" th:attr="value=${appId}"/>
    <input type="hidden" id="types" th:attr="value=${types}"/>
    <input type="hidden" id="locateTypes" th:attr="value=${locateTypes}"/>
    <input type="hidden" id="index" th:attr="value=${index}"/>
    <input type="hidden" id="selectType" th:attr="value=${selectType}"/>
    <input type="hidden" id="controlId" th:attr="value=${controlId}"/>
    <div class="layui-form" >
      <div class="layui-row" style="height:300px;overflow-y:auto;">
				    <div class="layui-col-md12" >
					  <xblock>
					    <input type="text" id="param" placeholder="请输入控件编码或者名称" autocomplete="off" class="input-search">
					  </xblock>
					</div>
					<div class="layui-col-md12">
						<div id="tree"></div>
					</div>
	  </div>
	  <div class="layui-form-item" style="text-align:center;buttom:10px;">
			<button id="save-btn"  class="layui-btn"  type="button">
			 <i class="fa fa-floppy-o" style="margin-right:10px;"></i>确定
			</button>
      </div>
    </div>
  </body>

</html>